import SystemAdmin from "@/components/SystemAdmin/SystemAdmin";
import SystemAdminDoctor from "@/components/SystemAdmin/Core/SystemAdminDoctor";
import SystemAdminDurgs from "@/components/SystemAdmin/Core/SystemAdminDurgs";
import SystemAdminDept from "@/components/SystemAdmin/Core/SystemAdminDept";
import SystemAdminPatient from "@/components/SystemAdmin/Core/SystemAdminPatient";
import SystemAdminPrescription from "@/components/SystemAdmin/Core/SystemAdminPrescription";
import SystemAdminWarehouse from "@/components/SystemAdmin/Core/SystemAdminWarehouse";
import SystemAdminOrder from "@/components/SystemAdmin/Core/SystemAdminOrder";
const RouterAdmin={
    path:'/SystemAdmin',
    components:{
        main:SystemAdmin
    },
    children:[
        {
            path:'/SystemAdmin',
            components: {
                system:SystemAdminDoctor
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'医生管理'
            }
        },{
            path:'/SystemAdmin/Doctor',
            components: {
                system:SystemAdminDoctor
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'医生管理'
            }
        },
        {
            path:'/SystemAdmin/Drugs',
            components: {
                system: SystemAdminDurgs
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'药品管理员管理'
            }
        },
        {
            path:'/SystemAdmin/Dept',
            components: {
                system: SystemAdminDept
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'科室管理'
            }
        },
        {
            path:'/SystemAdmin/Patient',
            components: {
                system: SystemAdminPatient
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'患者管理'
            }
        },
        {
            path:'/SystemAdmin/Prescription',
            components: {
                system: SystemAdminPrescription
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'诊断管理'
            }
        },
        {
            path:'/SystemAdmin/Warehouse',
            components: {
                system: SystemAdminWarehouse
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'药品库存管理'
            }
        },
        {
            path:'/SystemAdmin/Order',
            components: {
                system: SystemAdminOrder
            },
            meta:{
                isSystem:true,
                isLogin:true,
                title:'订单管理'
            }
        }
    ]
};
export default RouterAdmin;